package com.yanfan.energybilling.mapper;

import com.yanfan.energybilling.domain.EnergrConfiguration;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface EnergrConfigurationMapper {

    List<EnergrConfiguration> selectByExample(EnergrConfiguration example);

    int updateEnergrConfiguration(EnergrConfiguration example);

    int deleteEnergrConfiguration(Integer id);

    int insert(EnergrConfiguration record);

    List<EnergrConfiguration> selectBySerialNumber(String serialNumber);

    int getBuilds(@Param("buildsbh") Integer buildsbh, @Param("builds2") Integer builds2, @Param("builds3") Integer builds3, @Param("builds4") Integer builds4);

    EnergrConfiguration selectById(Long configurationId);
}
